<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Relaciones Empresariales</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: Helvetica Neue, Helvetica, Arial;
	color: #131F74;
}
a:link {
	color: #131F74;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #0F238A;
}
a:hover {
	text-decoration: none;
	color: #0F238A;
}
a:active {
	text-decoration: none;
	color: #0F238A;
}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#666666" link="#797979" vlink="#797979" alink="#797979" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form action="" method="post">{% csrf_token %}
<table width="100%" height="248" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="middle">
      <table width="800" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="{{ STATIC_URL }}top.png" width="800" height="294" /></td>
        </tr>
        <tr>
          <td align="center">
            <p><b>Informaci&oacute;n para el memo {{memo.nummemo.id_ext}}: {{memo.nummemo.patrocinador.nombre}}</b></p>
          </td>
        </tr>
        <tr>
          <td align="center">
            <p><table width="200" border="1">
            <tr>
              <td width="154" style="font-size:16px"><b>Sem&aacute;foro</b></td>
              {% if color == 'verde' %}
              <td width="30" id="semaforo" style="background:#090">&nbsp;</td>
              {% else %}
            	{% if color == 'amarillo' %}
            	<td width="30" id="semaforo" style="background-color:#FF0">&nbsp;</td>
            	{% else %}
                	{% if color == 'rojo'%}
            		<td width="30" id="semaforo" style="background-color:#F00">&nbsp;</td>
                    {% endif %}
                {% endif %}
              {% endif %}
            </tr>
            </table></p>
          </td>
        </tr>
        <tr>
          <td align="center">
            <table width="500" border="1" cellspacing="1" cellpadding="1">
			  <tr>
                <td width="150">Patrocinador</td>
                <td>{{mmemo.patrocinador.nombre}}</td>
              </tr>
              <tr>
                <td width="150">Giro:</td>
                <td>{{mmemo.giro}}</td>
              </tr>
              <tr>
                <td width="150"> Producto a promocionar:</td>
                <td>{{mmemo.producto}}</td>
              </tr>
              <tr>
                <td width="150">Beneficio obtenido:</td>
                <td>{{mmemo.beneficio}}</td>
              </tr>
              <tr>
                <td width="150">Evento:</td>
                <td>{{mmemo.evento}}</td>
              </tr>
              <tr>
                <td width="150">Responsable de marca:</td>
                <td>{{mmemo.responsable_marco}}</td>
              </tr>
              <tr>
                <td>Tel&eacute;fono responsable:</td>
                <td>{{mmemo.telefono}}</td>
              </tr>
              <tr>
                <td>Responsable del &aacute;rea:</td>
                <td>{{mmemo.responsable_area}}</td>
              </tr>
              <tr>
                <td>Extensi&oacute;n responsable:</td>
                <td>{{mmemo.ext_responsable}}</td>
              </tr>
              <tr>
                <td>Asociaci&oacute;n:</td>
                <td>{{mmemo.asociacion}}</td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td align="center">
            <p><b>Informaci&oacute;n de entrada</b></p>
            {% for fecha in fchas %}
            <p><table width="500" border="1" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left" valign="top">Fecha:</td>
                <td>{{fecha.fecha}}</td>
              </tr>
              <tr>
                <td align="left" valign="top">Tama&ntilde;o del stand:</td>
                <td>{{fecha.tamano}}</td>
              </tr>
              <tr>
                <td align="left" valign="top">Autos:</td>
                <td>{{fecha.autos}}</td>
              </tr>
              <tr>
                <td align="left" valign="top">Asistentes:</td>
                <td>{{fecha.asistentes}}</td>
              </tr>
              <tr>
                <td align="left" valign="top">Descripci&oacute;n de actividades</td>
                <td>{{fecha.descripcion}}</td>
              </tr>
            </table></p>
            {% endfor %}
          </td>
        </tr>
        <tr>
          <td align="center">
            <p><b>Firmas</b></p>
            <p><table width="500" border="1" cellspacing="1" cellpadding="1">
              <tr>
                <td width="250"><strong>Responsable de:</strong></td>
                <td colspan="2">Seguridad</td>
              </tr>
              <tr>
                <td width="250"><strong>Fecha de firma:</strong></td>
                <td colspan="2">{{memo.fechafirmuno}}</td>
              </tr>
              {% if memo.firmauno %}
              <tr>
                <td width="250"><strong>Autorizado</strong></td>
                <td width="212">Aprobado</td>
                <td width="20" style="background-color:#090">&nbsp;</td>
              </tr>
              {% else %}
              <tr>
                <td width="250"><strong>Autorizado</strong></td>
                <td>No aprobado</td>
                <td width="20" style="background-color:#F00">&nbsp;</td>
              </tr>
              {% endif %}
              <tr>
                <td colspan="3" align="center"><strong>Observaciones</strong></td>
              </tr>
              <tr>
                <td colspan="3" align="center">{{memo.comentariosfirmauno}}</td>
              </tr>
            </table></p>
            <p><table width="500" border="1" cellspacing="1" cellpadding="1">
               <tr>
                <td width="250"><strong>Responsable de:</strong></td>
                <td width="250" colspan="2">Imagen y comunicaci&oacute;n</td>
              </tr>
              <tr>
                <td width="250"><strong>Fecha de firma:</strong></td>
                <td width="250" colspan="2">{{memo.fechafirmdos}}</td>
              </tr>
              {% if memo.firmados %}
              <tr>
                <td width="250"><strong>Autorizado</strong></td>
                <td width="212">Aprobado</td>
                <td width="20" style="background-color:#090">&nbsp;</td>
              </tr>
              {% else %}
              <tr>
                 <td width="250"><strong>Autorizado</strong></td>
                 <td>No aprobado</td>
                 <td width="20" style="background-color:#F00">&nbsp;</td>
              </tr>
              {% endif %}
              <tr>
                 <td colspan="3" align="center"><strong>Observaciones</strong></td>
              </tr>
              <tr>
                <td colspan="3" align="center">{{memo.comentariosfirmados}}</td>
              </tr>
            </table></p>
            <p><table width="500" border="1" cellspacing="1" cellpadding="1">
              <tr>
                <td width="250"><strong>Responsable de:</strong></td>
                <td width="250" colspan="2">Planta F&iacute;sica</td>
              </tr>
              <tr>
                <td width="250"><strong>Fecha de firma:</strong></td>
                <td width="250" colspan="2">{{memo.fechafirmtres}}</td>
              </tr>
              {% if memo.firmatres %}
              <tr>
                 <td width="250"><strong>Autorizado</strong></td>
                 <td width="212">Aprobado</td>
                 <td width="20" style="background-color:#090">&nbsp;</td>
              </tr>
              {% else %}
              <tr>
                 <td width="250"><strong>Autorizado</strong></td>
                 <td>No aprobado</td>
                 <td width="20" style="background-color:#F00">&nbsp;</td>
              </tr>
              {% endif %}
              <tr>
                <td colspan="3" align="center"><strong>Observaciones</strong></td>
              </tr>
              <tr>
                <td colspan="3" align="center">{{memo.comentariosfirmatres}}</td>
              </tr>
            </table></p>
            <p><table width="500" border="1" cellspacing="1" cellpadding="1">
              <tr>
                <td width="250"><strong>Responsable de:</strong></td>
                <td width="250" colspan="2">Relaciones Empresariales</td>
              </tr>
              <tr>
                <td width="250"><strong>Fecha de firma:</strong></td>
                <td width="250" colspan="2">{{memo.fechafirmcuatro}}</td>
              </tr>
              {% if memo.firmacuatro %}
              <tr>
                <td width="250"><strong>Autorizado</strong></td>
                <td width="212">Aprobado</td>
                <td width="20" style="background-color:#090">&nbsp;</td>
              </tr>
              {% else %}
              <tr>
                <td width="250"><strong>Autorizado</strong></td>
                <td>No aprobado</td>
                <td width="20" style="background-color:#F00">&nbsp;</td>
              </tr>
              {% endif %}
              <tr>
                <td colspan="3" align="center"><strong>Observaciones</strong></td>
              </tr>
              <tr>
                <td colspan="3" align="center">{{memo.comentariosfirmacuatro}}</td>
              </tr>
            </table></p>
		</td>
      </tr>
      </table>
    </td>
  </tr>
</table>
</form>
<div align="center"><a href="/menu"><input type="button" value="Regresar" /></a></div>
<p>&nbsp;</p>
</body>
</html>
